package com.adou.service.impl;

import com.adou.dao.BookDao;
import com.adou.dao.impl.BookDaoImpl;
import com.adou.service.BookService;

/**
 * @description:
 * @author:
 * @version: BookServiceImpl.java v 0.1
 * @date: 2023.04.03
 */
public class BookServiceImpl implements BookService {
//    private BookDao bookDao = new BookDaoImpl();
    private BookDao bookDao;
    @Override
    public void save() {
        System.out.println("book service save ...");
        bookDao.save();
    }

    public void setBookDao(BookDao bookDao) {
        this.bookDao = bookDao;
    }
}
